import Layout from '@/layout'

const employees = {
  path: '/employees',
  component: Layout,
  children: [{
    path: '', // 如果在children path置空 当前整个路径会作为一级渲染的默认路由
    name: 'employees',
    component: () => import('@/views/employees'),
    meta: { title: '员工', icon: 'people' }
  }, {
    path: 'employeesDetail',
    component: () => import('@/views/employees/detail'),
    hidden: true
  }]
}

export default employees
